package com.fangcun.service.admin;

import com.fangcun.bean.sys.PageBean;
import com.fangcun.common.exception.ProException;
import com.fangcun.entity.Advertising;
import com.github.pagehelper.PageInfo;

public interface SysAdvertisingService {

	/** 后台列表 **/
	public PageInfo<Advertising> list(PageBean<Advertising> request) throws ProException;

	/** 详情 **/
	public Advertising details(Long id) throws ProException;

	/** 增加 **/
	public void add(Advertising request) throws ProException;

	/** 修改 **/
	public void update(Advertising request) throws ProException;

	/** 删除 **/
	public void delete(Long id) throws ProException;
}
